﻿using de.wolfmarco.pas.SoftwareDirectory.Database;
using Microsoft.Practices.Prism.Modularity;
using Microsoft.Practices.Prism.Regions;
using Microsoft.Practices.Unity;

namespace de.wolfmarco.pas.SoftwareDirectory
{
     [Module(OnDemand = true, ModuleName = SoftwareDirectoryHelper.ModuleName)]
    public class SoftwareDirectoryModule : IModule
    {

        private readonly IUnityContainer container;
        private readonly IRegionManager regionManager;

        public SoftwareDirectoryModule(IUnityContainer container, IRegionManager regionManager)
        {
            this.container = container;
            this.regionManager = regionManager;
        }

        public void Initialize()
        {
            new SoftwareDirectoryDatabase();
        }
    }
}
